Skip to content

Spector datetime matchers#10011

Merged
timotheeguerin merged 29 commits intomicrosoft:mainfrom
timotheeguerin:feat/spector-matchers
Apr 1, 2026
Merged

Spector datetime matchers#10011
timotheeguerin merged 29 commits intomicrosoft:mainfrom
timotheeguerin:feat/spector-matchers

Conversation

@timotheeguerin
Copy link
Copy Markdown
Member

fix #9997

@microsoft-github-policy-service microsoft-github-policy-service bot added lib:http-specs For issues/prs related to the @typespec/http-specs package spector Issues related to spector and the spec sets labels Mar 12, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 12, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-specs@10011
npm i https://pkg.pr.new/@typespec/spec-api@10011
npm i https://pkg.pr.new/@typespec/spector@10011

commit: 3a84f53

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 12, 2026

All changed packages have been documented.

  • @typespec/http-specs
  • @typespec/spec-api
  • @typespec/spector
Show changes

@typespec/spec-api - feature ✏️

Add matcher framework for flexible value comparison in scenarios. match.dateTime() enables semantic datetime comparison that handles precision and timezone differences across languages.

@typespec/spector - feature ✏️

Add matcher framework for flexible value comparison in scenarios. match.dateTime() enables semantic datetime comparison that handles precision and timezone differences across languages.

@typespec/http-specs - feature ✏️

Add matcher framework for flexible value comparison in scenarios. match.dateTime() enables semantic datetime comparison that handles precision and timezone differences across languages.

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Mar 12, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Copy link
Copy Markdown
Contributor

@markcowl markcowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions about ISO datetimes, otherwise, lgtm

@timotheeguerin timotheeguerin added this pull request to the merge queue Apr 1, 2026
Merged via the queue into microsoft:main with commit 018c110 Apr 1, 2026
42 checks passed
@timotheeguerin timotheeguerin deleted the feat/spector-matchers branch April 1, 2026 19:52
Copilot AI added a commit that referenced this pull request Apr 1, 2026
…atetime matchers + add changelog

Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/1bbb3871-173c-4525-ae6f-a424e79a3f6a

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib:http-specs For issues/prs related to the @typespec/http-specs package spector Issues related to spector and the spec sets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spector better handling for non consistent types

3 participants